using System.Diagnostics.Tracing;
using System.Xml.Serialization;
using LinqToDB;
using LinqToDB.Mapping;

namespace NalogGarLoader.Data.Tables;

#nullable disable

[Table]
public class ImportLog
{
    [PrimaryKey, Identity, NotNull]
    public int Id { get; set; }

    [Column, NotNull]
    public DateOnly GarVersion {get; set;}

    [Column, NotNull]
    public DateTime ImportDateTime {get; set;} = DateTime.Now;

    [Column, Nullable]
    public bool? IsIncremental { get; set; }    
}